-
Home
-
Burst Statistics – Privacy-Friendly Analytics for WordPress
-
2.2.6
-
Code
-
Classes
- Frontend_Statistics
Total Complexity |
99 |
Dependencies |
2 |
Dependents |
3 |
Total lines |
720 |
Lines of code |
457 |
Logical lines of code |
281 |
Comment lines |
180 |
Methods |
14 |
Properties |
4 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
build_select_metrics() |
B |
41 |
19 |
55 |
get_date_range() |
B |
36 |
16 |
84 |
build_where_clause() |
A |
43 |
15 |
44 |
sanitize_filters() |
A |
44 |
15 |
42 |
generate_statistics_query() |
A |
42 |
8 |
55 |
get_lookup_table_name_by_id() |
S |
52 |
6 |
23 |
get_most_viewed_posts() |
S |
49 |
4 |
35 |
get_lookup_table_id() |
S |
53 |
5 |
20 |
get_post_views() |
S |
51 |
4 |
27 |
__construct() |
S |
45 |
1 |
52 |
validate_group_by() |
S |
78 |
2 |
3 |
validate_order_by() |
S |
78 |
2 |
3 |
get_metric_labels() |
S |
62 |
1 |
11 |
get_device_name_by_id() |
S |
79 |
1 |
3 |